﻿package bdz.common.events {
	
	import flash.events.Event;

	public class XMLLoaderEvent extends Event{
	
		public static const FAULT:String = "xmlhttp_fault";
		public static const RESULT:String = "xmlhttp_result";
		public static const LOAD:String = "xmlhttp_load";
		public static const INVOKE:String = "xmlhttp_invoke";
		public static const IOFAULT:String = "xmlhttp_iofault";
		public static const PROGRESS:String = "xmlhttp_progress";
		public var data:*;
		
		public function XMLLoaderEvent (type:String, _data:*){
			super(type);
			data = _data;
		}

		override public function clone():Event {
              return new XMLLoaderEvent(type, data);
        }

	}
}